package com.web.service.user;

import com.web.bean.user.User;

import java.util.List;

/**
 * @autor Chen
 * @create 2021--25-8:58
 * @desc
 */
public interface UserService {
    List<User> selectUsers() throws Exception;
    void addUser(User user) throws Exception;
    void updateUser(User user) throws Exception;
    void deleteUser(String uid) throws Exception;
    void selectUserByPhone(String phone) throws Exception;
    void addWriter(User user) throws Exception;
    void updateWriter(User user) throws Exception;
    void selectWriterByPhone(String phone) throws Exception;
}
